<div class="container">
  <h1>remove_query_string()</h1>
  <p class="signature"> function remove_query_string(string $string): string </p>
  <h2>Description</h2>
  <div class="description">
    <p>Remove query string from a URL.</p>
  </div>
  <h2>Parameters</h2>
  <table>
    <thead>
      <tr>
        <th>Parameter</th>
        <th>Type</th>
        <th>Description</th>
        <th>Default</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>$string</td>
        <td>string</td>
        <td>The URL with a query string to be processed.</td>
        <td>N/A</td>
      </tr>
    </tbody>
  </table>
  <h2>Return Value</h2>
  <table>
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>string</td>
        <td>The URL without the query string.</td>
      </tr>
    </tbody>
  </table>
  <h2>Example Usage</h2>
  <div class="example">
    <pre>
echo remove_query_string("https://example.com/page?param=value");
// Output: https://example.com/page</pre>
  </div>
</div>
